//引用Vuex
import Vue from 'vue'
import Vuex from 'vuex'
// import request from '@/utils/request.js'
Vue.use(Vuex)
 
//实例store对象
const store = new Vuex.Store({
	state: {
		is_login:"未登录"
	},
    //mutations是修改store数据入口
	mutations: {
		proid(state, msg) {
			state.proid = msg;
		},
	}
})
 
//导出store对象
export default store